<?php

namespace Acme\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\MainBundle\Entity\PouzivatelSkola
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class PouzivatelSkola
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @ORM\ManyToOne(targetEntity="Skola")
     * 
     * @var Skola $skola
     */
    private $skola;
    
    /**
     * @ORM\ManyToOne(targetEntity="Pouzivatel")
     * 
     * @var Pouzivatel $pouzivatel 
     */            
    private $pouzivatel;

    /**
     * @var string $skolskyRok
     *
     * @ORM\Column(name="skolskyRok", type="string", length=9)
     */
    private $skolskyRok;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set skolskyRok
     *
     * @param string $skolskyRok
     */
    public function setSkolskyRok($skolskyRok)
    {
        $this->skolskyRok = $skolskyRok;
    }

    /**
     * Get skolskyRok
     *
     * @return string 
     */
    public function getSkolskyRok()
    {
        return $this->skolskyRok;
    }

    /**
     * Set skola
     *
     * @param Acme\MainBundle\Entity\Skola $skola
     */
    public function setSkola(\Acme\MainBundle\Entity\Skola $skola)
    {
        $this->skola = $skola;
    }

    /**
     * Get skola
     *
     * @return Acme\MainBundle\Entity\Skola 
     */
    public function getSkola()
    {
        return $this->skola;
    }

    /**
     * Set pouzivatel
     *
     * @param Acme\MainBundle\Entity\Pouzivatel $pouzivatel
     */
    public function setPouzivatel(\Acme\MainBundle\Entity\Pouzivatel $pouzivatel)
    {
        $this->pouzivatel = $pouzivatel;
    }

    /**
     * Get pouzivatel
     *
     * @return Acme\MainBundle\Entity\Pouzivatel 
     */
    public function getPouzivatel()
    {
        return $this->pouzivatel;
    }
}